{extend name="public/base" /}
{block name="content"}
<!-- Page Content -->
<div class="page-content">
    <!-- Page Breadcrumb -->
    <div class="page-breadcrumbs">
        <ul class="breadcrumb">
            <li>
                <a href="#">系统</a>
            </li>
            <li>
                <a href="#">员工管理</a>
            </li>
            <li class="active">添加员工</li>
        </ul>
    </div>
    <!-- /Page Breadcrumb -->

    <!-- Page Body -->
    <div class="page-body">

        <div class="row">
            <div class="col-lg-12 col-sm-12 col-xs-12">
                <div class="widget">
                    <div class="widget-header bordered-bottom bordered-blue">
                        <span class="widget-caption">新增员工</span>
                    </div>
                    <div class="widget-body">
                        <div id="horizontal-form">
                            <form class="form-horizontal" role="form" action="" method="post"
                                  enctype="multipart/form-data">
                                <div class="form-group">
                                    <label for="group_id" class="col-sm-2 control-label no-padding-right">员工姓名</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" id="name" placeholder="" name="staffname" required=""   type="text">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="group_id" class="col-sm-2 control-label no-padding-right">员工性别</label>
                                    <div class="col-sm-6">
                                        <div class="radio" style="float: left;margin-right: 10px;">
                                            <label>
                                                <input  name="sex" checked type="radio" value="男">
                                                <span class="text">男 </span>
                                            </label>
                                        </div>
                                        <div class="radio" style="float: left;margin-right: 10px;">
                                            <label>
                                                <input  name="sex"  type="radio" value="女" class="inverted">
                                                <span class="text">女 </span>
                                            </label>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="group_id" class="col-sm-2 control-label no-padding-right">员工电话号码</label>
                                    <div class="col-sm-6">
                                        <input class="form-control" id="phone" placeholder="" name="phone" required=""   type="text" >
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="group_id" class="col-sm-2 control-label no-padding-right">区域</label>
                                    <div class="col-sm-6">
                                        <select name="cmpid" style="width: 100%;">
                                           {volist name="data" id="value"}
                                            <option  value="{$value.id}">{$value.name}</option>
                                            {/volist}
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="group_id" class="col-sm-2 control-label no-padding-right">员工状态</label>
                                    <div class="col-sm-6">
                                        <div class="radio" style="float: left;margin-right: 10px;">
                                            <label>
                                                <input name="status" checked type="radio" value="-1">
                                                <span class="text">不可用 </span>
                                            </label>
                                        </div>
                                        <div class="radio" style="float: left;margin-right: 10px;">
                                            <label>
                                                <input name="status"  type="radio" value="0">
                                                <span class="text">空闲 </span>
                                            </label>
                                        </div>
                                        <div class="radio" style="float: left;margin-right: 10px;">
                                            <label>
                                                <input name="status"  type="radio" value="1">
                                                <span class="text">有任务</span>
                                            </label>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <div class="col-sm-offset-2 col-sm-10">
                                        <button type="submit" class="btn btn-default">保存信息</button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
    <!-- /Page Body -->
</div>
<!-- /Page Content -->

{/block}